disabled update button and resolved a bug on invoice sale