added update methods to all the views