UI update
cp function added