Updated readme example to use new attribute format