update changes on modal and update some link functionality