update digital input block