update requirements modal-refactor