view database edit