modify mysqli class