only load div when in right state
put into public folder
update