'Updates both the published and draft branches'

def _update_course_assets(self, user_id, asset_key, update_function):

    super(DraftVersioningModuleStore, self)._update_course_assets(user_id, self._map_revision_to_branch(asset_key, ModuleStoreEnum.RevisionOption.published_only), update_function)
    super(DraftVersioningModuleStore, self)._update_course_assets(user_id, self._map_revision_to_branch(asset_key, ModuleStoreEnum.RevisionOption.draft_only), update_function)
