[experimental] trying to change the update functions to save from the fork memory problem