Add callback on update input