UpdateFirstCode