update deploy script to removed old version