Updated post API