Changed status field to integer in publishing model