comment edit is working but needs code refactoring