Added option to increment field on updates rather than just on insert.