update toString method