Updated update scripts for database