routine update to latest code