some changes with db