update of the xcode code