update script and styles