Coding the Bat's update method