added post editing feature