updated database backend