updating Mob class