tip value updates automatically when input data changes