Updated the build events.