update message when task is finished