updated the XPhoto control