update camera

bugs fixed & flash added