Update array syntax in posts index