add install and upgrade stage file for capistrano