Updated code

Updated code in update_statuses where the mailer method wiil be called from update_statuses method.