Fix postpole api migration