implement function to save package status data