add optional iterations param to update

Sometimes it's helpful to be able to increment the internal count by more than 1 at once (e.g. i/o operations). This commit adds an optional iterations parameter to the update methods which enables this feature.