update routine type