added functions/details to be called on form change