fix & upgrade deploy