update project toArray function