update some obsolete functions