Updated Task model with relationship to contacts