updated DB pushing functions