updates

adding some events and hopefully fixing some syntax.