Updated events API