Update databasescript