Put and patch implementation

Put and patch request method implementation and testing