Fixed content update issue. Added edit mode.