changing hash to work with create_resource