updating
reshaping package function