update style and login