update doc and add phot methods