setting db update mechanism