update customType