added project_id and role_id to pivot table