changes to update api