Update amountedit.py