update a method
fix a bug