Updated deprecated syntax "{}" by "[]"