updated the basemodel