<update> 1. support modify file by manipulate buffer