updating guard