add remove deployment before deployment