Added functionality to transform fetched values with js functions and only update mouth if values are updated