added blur and change event to all input fields