update front and back images