Bind add event to update view function.