adding ddChange event for selection change