Updating and deleting elements in collection.