Updating availability zone based on mod