update money attribute to use CGFloat