Adding edit headline functionality