updated resh library