update view variables to float