Added unit tests around controller for destination updates
Improved destination update functionality to handle error cases