added published boolean flag to allow items to be committed in an unpublished state