Unable to accept license agreement to update xcode

I am trying to update xcode in appstore but when clicking "Update" it tells me to review and accept the updated license agreement.

I read the agreement and press "Accept" at the bottom which openes another window asking me if I really want to accept.

I also Accept this window so it should be done now. But the window only closes and nothing happens. Now I am unable to update xcode...

How can I fix this?

This applies to all my apps from appstore as I have noticed with further tries. Restarting and rellogging into apple id makes no difference.

Unable to accept license agreement to update xcode
 
 
Q