added ability to update or delete mailproviders to the api