add update  method to dbworker to update the status purchase bill