update to to_f from to_i