Separate new customer / edit customer states

fix parse update error