update database schema version to 4 in update scripts