updated data input processing