chaiwat update function slide pictrue