update ui and add task deadline