update change int to float