improve deploy package interface