update attribute file