added functionality to update a contact resources attribute via the contactInvoker class with tests