updating @projects variable in create/ destroy of projects