Implemented PUT method