update get to handle single values