dbFunctions update