Implement invoice status updating