update type default
delete fun is ok