Added files and updated their info on db