update constants and parameter passing to dialogs