updated put_data method