updated package structure of widget