update Sale and Register