Fixed two bugs in callback_update_from_database(). 1) It should work now for single task jobs. 2) It should work when selected multiply rows.