update to integer