chaiwat update function fb login