updated res for all that is necessary