update mysql to reduce its size