remove old file and update new