create new task in database