remove old file and update rm