Another fix to the update trigger to force integer