Update file modes