update style & app load func