added functionality to the contactInternalService class to update a specified resource, added with tests