Added ability to edit the discount code from the admin portal