fixed some bugs in update command and Member entity repository