Adding category str when updating posts