Add code for use direct ajax call to our rest server for update post details using pos metadata from header