update infowindow dynamically