finished updating db
added createOrUpdate functionality for result