change datatype for posts link