update post add sed and awk command