Update ad code and move to the bottom