Added edit and update function