Corrected an issue during update where values from the db were coming in as string and need to be converted to int