updated currency edit and add with page refresh