Update framework and fixed warning handle