Updating after editing