Update Record each function call