Added support for add and update for content provider