add new task to database