update edit in views