patching db automatically on provision