functional updates for editing contents.