advanced updates

added py files and made some snippet updates