working on edit
added json option to get customers.