refactor API deploy signature