Updates value for the new inputs