add update and batch update actions to api