database improvment