Update basefunc