added function update_bug() for EVENT_UPDATE_BUG for sending
notification on assign from bug form