added hook update n slide