Controlling the updatability of view object attributes programmatically