MySQL script updated