Database SQL script updated