Implmenets update pin functionality