Updated UI to correctly save/update projects to the database