try to use ajax to update the result