updated __str__
updated update method