updating app and router