add task to DB