Add key to array