added projects db saving func