added pi update