Spotted and fix the bug in update funtion in Storage