updated db scripts