update layout for magic stuff