change global db variable