introduced social manager to both update model and online db