changing array data