update for chrome extension