Bugfix in posts updating