update, custom type is working