update sql for receipt bill sequence