Update deployment method.