db reference updated