added update and get_list methods to invoice