Updated attributes to use long type