update deletion

delete source files when deleting database records