updating package structure