allow remote method to be a function

allows use of different update (or whatever) method depending on what exchanged