updated sidebar with dynamic input variables