update for all html elements