update tolerance for better results