updating MySQL commands