Liutyi fixed bugs with negative values in UpdateConfig