updating files with relative dimensions