resolved bug in views/update