implement patch, put, delete mehtods