Add read_only parameter

Just skip any updates when the storage is read-only, write to status
anyway. The change will get reverted in the next sync.

Fix #54