fix fetching code mirror on updating a post