update with create, update, delete in rest