edit discount tab