update some more functions, for #184