update database scripts