updates modal changed