update photo border