Updated UpdateType enum to fix off-by-one error