Adding code for editing hr line