update to global db