minor fix for update