Change deploy logic