db reference changed