update link count in writeINode