update inputs based on refresh rate