Engineering molecular rings for magnetocaloric effect