enable edit and update