updated database binding