renew db entities