change order of attributes to match the database