update sample3 and 4