added title editing functionaliy