add ajax, feature in mid