the function name is changed to "updateStatus()"