chaiwat update functon upload file