removed the %post section content and added Mysql DB update in event