changed hasOne for project