update layout for assignment