updating package api