lock down edit and update