updated selfie api