array_push() with key value pair
$data['cat'] = 'wagon';
That's all you need to add the key and value to the array.
If you need to add multiple key=>value, then try this.
$data = array_merge($data, array("cat"=>"wagon","foo"=>"baar"));
So what about having:
$data['cat']='wagon';