fix update with empty model