fixed bug in update cloudformation in AWSDeploy class