LPS-51861 rename old resource after deleting the new