Updating job history