update status code for openfire