Apply batch update result in model
Handle max duration error, fixes #195 (lib)