Updated MySQL database script