Updated db scripts