split up update, revealed isolated type error