Modify StringBuffer