Database script updated