remove app before updating in the file backend