added functionality for editable heading