update file stuff