Use update function on provider for faster updates
Use provider for add