update example read-only flag as needed