Clean Up Deprecated Method Call

change queryForInt to queryForObject