Update synapse/synapse.functions.R