TODO: cant replace html elements, refresh instead