update database connect: action 11 and 12