Added code to remove 'id' property for PUT request body