update some functionality