chaiwat update function login fb