REST save() and update()