Change the toString methods to avoid crashes
add in update method