update selectOne method in Mysql class