rename post function as generic post