modify funcation package