Adjust publish method