added ability to update and delete mailproviders