delete bin gen
add database save for photocomment