updating routines, which are presently not working