updates to res