update all attributes after file has changed