Added code to delete property 'id' from PUT request.