fix bug when no tags.
add format when updating post last modified date.