Removed updateContainer function