updated db tables