added update method to clickable