update layout for collection view