updated database reference