update file mode, test observer interface