update prefix toString method