Update function

- Update function "update".
- Change files charset