user update remove view, fix logic use update_attribute