Handled the null check in slickgrid onupdate datasource event