Updating templates for displaying floats properly