fixing and updating examples