update mysql classes