Added Ajax to new data input