1. enable delete file 2. update ui