Refactoring to save new startups in database