added shitty photo upload
updated upload func