Updating total