adapt values in all input-boxes when changing