update method of captyring photos