Removed unused code
Added exception handling to update method
Changed error 500 to error 400
Added changelog