update setup routine