update post with refactred code + improved text