update posts api map to prepare for delet functionality