edit pin views and controller