send 500 when update can't be executed