Updates for database scripts