minor fix about update