'Update a component\'s metadata and refresh the page.'

def update_component(self, component, metadata):

    self.course_fixture._update_xblock(component.locator, {'metadata': metadata})
    self.browser.refresh()
    self.container_page.wait_for_page()
