CORE-5772: updated the endpoint to update job names and comments to work with the new database structure