Completed API implementation of update action

Still pending is Delete