update with better reference to MySQL