Renamed array_set to array_replace_at

//cc @dbu