added input-update