Added return value for updateModel