update activerecord associations and show author of project