Change counter type to String, as we're doing it in base 36.
Don't update counter on every save; just do it if the counter field is not present.