Updated array syntax to 5.4

Updated all the array syntax to 5.4 to keep things consistent.