updated remote method