fix snapping issue (update snap data after building)