chaiwat update function login facebook